<?php
/**
 * terminal controller
 * @package app-drama_controller
 */
load_controller('/base');
/**
 * terminal controller
 * @author pandajingjing
 * @package app-drama_controller
 */
class terminalcontroller extends basecontroller{

    /**
	 * 入口方法
	 */
    function doRequest(){
        load_lib('/bll/terminal');
        $clsBll=new bll_terminal();
        echo json_encode($clsBll->getTerminalList());
        exit();
    }

    /**
	 * 获取访问该控制器的路径
	 */
    static function getURL($p_strAction='',$p_arrParam=array(),$p_bolSecure=false,$p_strPre=''){
        return parent::getURL('/terminal',$p_strAction,$p_arrParam);
    }
}